﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Sharp.Domain.Model;
using Sharp.Infrastructure;

namespace Sharp.Domain.CMSBoundedContext.OperationModule.Aggregates
{
    /// <summary>
    /// 敏感词
    /// </summary>
    public class NoiseWord : AggregateRoot, IStandardEntity
    {
        /// <summary>
        /// 敏感词
        /// </summary>
        [StringLength(255)]
        public string Noise { get; set; }
        /// <summary>
        /// 替换
        /// </summary>
        [StringLength(10)]
        public string Replacement { get; set; }
        /// <summary>
        /// 禁止？
        /// </summary> 
        public bool IsBan { get; set; }

        public DateTime? CheckInTime { get; set; }
        public Guid? CheckInUserId { get; set; }
        public DateTime? ModifiTime { get; set; }
        public Guid? ModifiedUserId { get; set; }
    }
}
